body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6;
    color: #333;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 10px 20px;
    background: linear-gradient(90deg, #4CAF50, #45A049);
    color: white;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

header h1 {
    font-size: 3rem;
    margin: 0;
    font-weight: bold;
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2);
}

header p {
    font-size: 1.4rem;
    margin-top: 15px;
    color: #e8f5e9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    text-align: center;
}

header::after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #45A049, #4CAF50);
    margin-top: 20px;
    border-radius: 3px;
}


.program-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    background-color: #ffffff;
    text-align: center;
    max-width: 800px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.program-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.program-card h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
}

.program-card p {
    font-size: 1rem;
    text-align: justify;
    margin-bottom: 20px;
    padding: 0 10px;
    color: #555;
}

.download-btn{
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    font-size: 1rem;
    color: white;
    background-color: #007BFF;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #0056b3;
}

footer {
    text-align: center;
    padding: 15px;
    background-color: #333;
    color: white;
    font-size: 0.9rem;
}

footer a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

h3 {
    font-size: 1.4rem;
    color: #007BFF;
    margin: 20px 0 10px;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    margin-bottom: 20px;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

ul li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: left;
}

ul li strong {
    color: #333;
}

kbd {
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 2px 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

footer p{
    text-align: center;
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
}

html {
    scroll-behavior: smooth;
}

/* 상단 네비게이션 메뉴 스타일 */
nav {
    background-color: #333;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: inline;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-menu a:hover {
    background-color: #4CAF50;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    nav {
        padding: 10px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 10px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 1rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }
}
